<template>
    <div class="forecast-wrapper">
        <div class="forecast-top">
            <el-tag type="success" color="black" size="medium" effect="light">环境参数预测</el-tag>
        </div>
        <div class="forecast-center">
            <div class="tem-forecast">
                <dv-loading></dv-loading>
                <el-button type="text" style="color: #257dff" @click="$store.state.views=3">温度预测</el-button>
            </div>
            <div class="water-forecast">
                <dv-decoration-9 style="width:1.5rem;height:1.5rem;">50%</dv-decoration-9>
                <el-button type="text" style="color: #257dff" @click="$store.state.views=3">水质预测评估</el-button>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "forecast"
    }
</script>

<style scoped lang="scss">
    .forecast-wrapper{
        height: 3.7rem;
        .forecast-top{
            margin: 0.125rem 0 0 0.125rem;
        }
        .forecast-center{
            display: flex;
            margin-left: 0.125rem;
            height: 3rem;
            flex-flow: row nowrap;
            justify-content: space-around;
            align-items: center;
            .tem-forecast{
                display: flex;
                flex-flow: column nowrap;
                justify-content: center;
                align-items: center;
                p{
                    margin-top: 0.0625rem;
                    font-size: 0.225rem;
                    color: #257dff;
                }
            }
            .water-forecast{
                display: flex;
                flex-flow: column nowrap;
                justify-content: center;
                align-items: center;
                margin-bottom: 0.9rem;
                p{
                    margin-top: 0.0625rem;
                    font-size: 0.225rem;
                    color: #257dff;
                }
            }
        }
    }
</style>
